<?php
namespace App\Request;

use App\Request\Request;

class UserUpdateRequest extends Request
{
    // 规则
    public function rules(): array
    {
        return [
            'password' => '',
            'name'     => 'required',
            'phone'    => 'required|max:20',
        ];
    }
}